/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

/**
 * 说明：
 * Entity Name 仓库调拨
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TStoreTransfer")
public class TStoreTransfer implements Serializable{

	private static final long serialVersionUID = 1L;

	private String TransferID;//调拨编号CHAR(15)PK

	private String OutStoreID;//调出仓库;

	private String InStoreID;//调入仓库

	private int Num;//调拨商品数量INTEGER

	private String Operator;//操作人CHAR(15)

	private Date HappenTime;//操作时间DATETIME
	
	private byte AuditStatu;//状态  1为正在申请2为已审核3为已完成（出库或者入库）
	
	private String AuditName;//审核人CHAR(15)
	
	private Date AuditTime;//审核时间 
	
	private Date endTime;//用于查询，不进入数据库 jason
	
	private String storeid;//用于查询，不进入数据库 仓库id
	
	@Id
	@Column(name = "TransferID", length=15)
	public String getTransferID() {
		return TransferID;
	}

	public void setTransferID(String transferID) {
		TransferID = transferID;
	}

	@Column(name = "OutStoreID", length=15)
	public String getOutStoreID() {
		return OutStoreID;
	}

	public void setOutStoreID(String outStoreID) {
		OutStoreID = outStoreID;
	}

	@Column(name = "InStoreID", length=15)
	public String getInStoreID() {
		return InStoreID;
	}

	public void setInStoreID(String inStoreID) {
		InStoreID = inStoreID;
	}

//	@Column(name = "CommodityID", length=15)
//	public String getCommodityID() {
//		return CommodityID;
//	}
//
//	public void setCommodityID(String commodityID) {
//		CommodityID = commodityID;
//	}

	@Column(name = "Num")
	public int getNum() {
		return Num;
	}

	public void setNum(int num) {
		Num = num;
	}

	
	@Column(name = "Operator")
	public String getOperator() {
		return Operator;
	}

	public void setOperator(String operator) {
		Operator = operator;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "HappenTime", nullable = false, length = 19)
	public Date getHappenTime() {
		return HappenTime;
	}

	public void setHappenTime(Date happenTime) {
		HappenTime = happenTime;
	}
	@Column(name = "AuditStatu")
	public byte getAuditStatu() {
		return AuditStatu;
	}

	public void setAuditStatu(byte auditStatu) {
		AuditStatu = auditStatu;
	}
	@Column(name = "AuditName",length=15)
	public String getAuditName() {
		return AuditName;
	}

	public void setAuditName(String auditName) {
		AuditName = auditName;
	}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "AuditTime", nullable = false, length = 19)
	public Date getAuditTime() {
		return AuditTime;
	}

	public void setAuditTime(Date auditTime) {
		AuditTime = auditTime;
	}
	@Transient
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	@Transient
	public String getStoreid() {
		return storeid;
	}

	public void setStoreid(String storeid) {
		this.storeid = storeid;
	}
	
}
